package com.ygqh.baby.service.wechat.message;

import com.alibaba.fastjson.annotation.JSONField;
import com.foxinmy.weixin4j.mp.message.TemplateMessage;

public class YgTemplateMessage extends TemplateMessage {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2600253477474149168L;

	@JSONField(name = "form_id")
	private String formId;

	@JSONField(name = "emphasis_keyword")
	private String emphasisKeyword;
	@JSONField(name = "page")
	private String page;

	private String platformNo;

	public YgTemplateMessage(String toUser, String templateId, String title, String page, String formId) {
		super(toUser, templateId, title, "");
		this.formId = formId;
		this.page = page;
	}

	public YgTemplateMessage(String toUser, String templateId, String title, String page, String formId, String emphasisKeyword) {
		super(toUser, templateId, title, "");
		this.formId = formId;
		this.emphasisKeyword = emphasisKeyword;
		this.page = page;
	}

	public String getEmphasisKeyword() {
		return emphasisKeyword;
	}

	public void setEmphasisKeyword(String emphasisKeyword) {
		this.emphasisKeyword = emphasisKeyword;
	}

	public void setFormId(String formId) {
		this.formId = formId;
	}

	public String getFormId() {
		return formId;
	}

	public String getPage() {
		return page;
	}

	public void setPage(String page) {
		this.page = page;
	}

	public String getPlatformNo() {
		return platformNo;
	}

	public void setPlatformNo(String platformNo) {
		this.platformNo = platformNo;
	}

	@Override
	public String toString() {
		return "YgTemplateMessage [formId=" + formId + "]";
	}
}
